const FILTER_COMPOSITE = "FILTER_COMPOSITE"
const FILTER_DISCOUNT = "FILTER_DISCOUNT"
const FILTER_MIN_PRICE = "FILTER_MIN_PRICE"
const FILTER_DISTRIBUTION = "FILTER_DISTRIBUTION"


const FILTER_ORDER_BY_OBJECT = {
  [FILTER_COMPOSITE]:'t.rate DESC, t.min_price,t.distribution_price,t.discount',
  [FILTER_DISCOUNT]:'t.discount DESC,t.rate DESC',
  [FILTER_MIN_PRICE]:'t.min_price,t.rate DESC',
  [FILTER_DISTRIBUTION]:'t.distribution_price,t.rate DESC'
}

module.exports = {
  FILTER_COMPOSITE,
  FILTER_DISCOUNT,
  FILTER_MIN_PRICE,
  FILTER_DISTRIBUTION,
  FILTER_ORDER_BY_OBJECT
}